package com.zmn.plat.model.entity.organ;

import com.zmn.common.utils.pager.Pages;

/**
 * @author duanzuocai
 * @version v1.0
 * @类说明：组织架构查询对象
 * @since 2018/10/25 10:21
 */
public class OrganQuery extends Pages {
    private int orgId;

    /** 组织架构名称：模糊匹配 */
    private String orgName;

    /** 组织架构名称：完全匹配 */
    private String orgName2;

    /** 组织架构类型 */
    private String type;

    /** 组织架构公司类型 */
    private Integer companyType;

    /** 组织架构级别 */
    private Integer level;

    /** 组织架构上级ID */
    private Integer parentId;

    /** 组织架构公司ID */
    private Integer companyId;

    /**
     * 状态:：1停止，2启用
     */
    private Integer status;

    public int getOrgId() {
        return orgId;
    }

    public void setOrgId(int orgId) {
        this.orgId = orgId;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Integer getCompanyType() {
        return companyType;
    }

    public void setCompanyType(Integer companyType) {
        this.companyType = companyType;
    }

    public String getOrgName2() {
        return orgName2;
    }

    public void setOrgName2(String orgName2) {
        this.orgName2 = orgName2;
    }

    @Override
    public String toString() {
        return "OrganQuery{" +
                "orgId=" + orgId +
                ", orgName='" + orgName + '\'' +
                ", orgName2='" + orgName2 + '\'' +
                ", type='" + type + '\'' +
                ", companyType=" + companyType +
                ", level=" + level +
                ", parentId=" + parentId +
                ", companyId=" + companyId +
                ", status=" + status +
                '}';
    }
}
